local rule = fk.CreateSkill {
  name = "lingling__rule",
}

Fk:loadTranslationTable{
  ["lingling__rule"] = "游戏规则",
  [":thunder__slash"] = "基本牌<br/>"..
  "<b>时机</b>：出牌阶段<br/>"..
  "<b>目标</b>：攻击范围+1以内的一名角色<br/>"..
 " <b>效果</b>：对目标角色造成1点雷电伤害。",
  ["#thunder__slash_skill"] = "选择攻击范围+1以内的一名角色，对其造成1点雷电伤害",
  ["#thunder__slash_skill_multi"] = "选择攻击范围+1以内的至多%arg名角色，对这些角色各造成1点雷电伤害",
}

rule:addEffect("targetmod", {
  global = true,
  distance_limit_func = function (self, player, skill, card, to)
    if card and card.name == "thunder__slash" then
      return 2
    end
  end,
})

return rule
